package com.example.springboot.service;

import com.example.springboot.controller.request.BookPageRequest;
import com.example.springboot.controller.request.BorrowPageRequest;
import com.example.springboot.entity.Borrow;
import java.util.List;

public interface IBorrowService {

    int count(String search);
    void updateStatus(int recordId, int status);

    List<Borrow> list();

    Object page(BorrowPageRequest borrowPageRequest);

    void addBorrow(Borrow borrow);

    double getTodayBorrowRate();
}